const express = require("express");
const path = require("path");

let route = express.Router();

route.get("/", (req, res) => {
  let jsonPath = path.join(__dirname, "../json/movie.json");
  res.sendFile(jsonPath);
});

module.exports = route;
